﻿using System;
using System.ComponentModel.DataAnnotations.Schema;

namespace Model
{
    [Table("OrderDetail")]
    public class OrderDetail
    {
        public int Id { get; set; }
        public int? OrderId { get; set; }
        public int? ProductId { get; set; }
        public int? ProductLdId { get; set; }
        public int Quantity { get; set; }
        public decimal ProductPrice { get; set; }
        public decimal? Discount { get; set; }
        public decimal Total { get; set; }
        public decimal? ProductActualPrice { get; set; }

        public virtual Product Product { get; set; }

        public virtual ProductLD ProductLD { get; set; }
    }
}
